package com.zmn.brs.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * mybatis与启用事务配置
 *
 * @author quanjic
 * @version v1.0
 * @since 2020/4/22 18:19
 **/
@Configuration
@MapperScan(basePackages = {"com.zmn.brs.persistence.interfaces.*"})
@PropertySource("classpath:mybatis-brs.properties")
@EnableTransactionManagement
public class MybatisConfiguration {

}
